package cn.review.han;
//本类用于测试
public class TestMethod {

    public static void main(String[] args) {
        System.out.println(1);
        method1();
        System.out.println(2);
        method2(9);
        System.out.println(3);
        method3(3,5);
        method4("张三",2.7);
    }

    private static void method3(int i, int i1) {
        System.out.println(i*i1);
    }

    private static void method4(String s,double d) {
        System.out.println(s+"要吃"+d+"碗大米饭");
    }

    private static void method1() {
        System.out.println(5);
        System.out.println(5);
        System.out.println(5);
    }

    private static void method2(int n) {
        System.out.println("海绵宝宝" +
                n+"岁啦");
    }
}
